workdir=`dirname $0`
JAVA_HOME='/mnt/jre1.6.0_22/bin'
echo "The workdir is ${workdir}"
if [ "${workdir}" = "." ]; then
worklibpath='lib'
else
worklibpath=${workdir}/lib
fi
jars=`ls ${worklibpath}`
classes=${workdir}
for jar in $jars
do 
classes=${classes}:${worklibpath}/${jar}
done
classpath=${classes}
LANG=zh
export 
#echo "classpath=${classpath}"

#echo "classpath is ${classpath}"
command=$JAVA_HOME/"java -Duser.dir=${workdir} -cp ${classpath} com.cxdr.awsips.packing.Start"
echo ${command}
${command}

